package com.wenxixuanwu.fruitstore.mapper;

import com.wenxixuanwu.fruitstore.entity.LogBook;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogBookMapper {

    int insertLogbook(LogBook logBook);

    LogBook selectByUserId(int uid,int cid);

    int deleteById(int uid,int cid);

    List<Integer> selectUserId(int id);

    List<Integer> selectUserIds(List<Integer> list);
}
